package syntax.Reified

inline fun methodsOf<reified T>() = javaClass<T>().getMethods()

fun main(args: Array<String>) {
    println(methodsOf<String>().joinToString("\n"))
}